import { Layout } from 'antd';
// import { FC } from 'react';
import { useEffect } from 'react';
import './header.less';
const { Header } = Layout;
export const Index = () => {
  useEffect(() => {}, []);
  return (
    <Header className="site-layout-background" style={{ padding: '0 20px ' }}>
      <div className="weather">
        <iframe
          width="200"
          height="24"
          frameBorder="0"
          scrolling="no"
          src="https://i.tianqi.com/?c=code&id=11"
        ></iframe>
      </div>
      <div className="right">
        欢迎，xxxxx! <span>退出</span>
      </div>
    </Header>
  );
};
